package net.myspring.common.ztree;

public class TreeNode {
    private String id;
    private String pid;
    private String name;
    private Boolean checked;
    private Boolean isParent;
    private Boolean open;

    public TreeNode(String id, String pid, String name, Boolean checked, Boolean isParent, Boolean open) {
        this.id = id;
        this.pid = pid;
        this.name = name;
        this.checked = checked;
        this.isParent = isParent;
        this.open = open;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public Boolean getIsParent() {
        return isParent;
    }

    public void setIsParent(Boolean isParent) {
        this.isParent = isParent;
    }

    public Boolean isOpen() {
        return open;
    }

    public void setOpen(Boolean open) {
        this.open = open;
    }
}
